package hb.software.salary.domain;

import hb.software.domain.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @ClassName: Salary
 * @Description: JavaBean of Salary Module
 * @author LiXiangxiang
 * @date May 27, 2020 6:36:43 PM
 *
 */
@Entity
@Table(name = "Salary") // database name
public class Salary extends BaseEntity<Long> {

	private static final long serialVersionUID = 2226031928155350874L;

	@Column
	private int absence;// Absences days
	@Column
	private double basicsalary;// Basic salary
	@Column
	private String name;
	@Column
	private double salary;// The actual salary
	@Column
	private double variablesalary;// Changes in wages
	@Column
	private String wageday;// Pay day

	public int getAbsence() {
		return absence;
	}

	public double getBasicsalary() {
		return basicsalary;
	}

	public String getName() {
		return name;
	}

	public double getSalary() {
		return salary;
	}

	public double getVariablesalary() {
		return variablesalary;
	}

	public String getWageday() {
		return wageday;
	}

	public void setAbsence(int absence) {
		this.absence = absence;
	}

	public void setBasicsalary(double basicsalary) {
		this.basicsalary = basicsalary;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public void setVariablesalary(double variablesalary) {
		this.variablesalary = variablesalary;
	}

	public void setWageday(String wageday) {
		this.wageday = wageday;
	}

}
